@include('Index.header')
<body class="bg">
<!-- header start -->
<div class="nav-wrapper">
    <div class="nav">
        <a href="{{ URL::action('Index\IndexController@index')}}" class="z"> <i class="fa fa-angle-left"></i></a>
        <span class="name">
            <span class="game-logo"></span>综合讨论区</span>
    </div>
</div>

<div class="postlist">
    <h2 class="cl">
        <span>{{$list["name"]}}</span>
    </h2>
    <div class="plc cl" >
          <span class="avatar">
            <img src="/static/image/mobile/images/avatar-wow-default.jpg" />
        </span>
        <div class="display pi" href="#replybtn_140766">
            <ul class="authi">
                <li class="floor">
                    <em>1<sup>#</sup> </em>  <b>
                        <a href="javascript:void(0);" class="context-link">{{$list['user_info']['realname']}}</a>
                    </b>
                </li>
                <li class="rela">{{substr($list['created_at'],0,10)}}</li>
            </ul>
            <div class="message">
                {{$list['content']}}
            </div>
            <ul class="img_one">
                    <li>
                        @foreach($list['image_info'] as $val)
                        <a href="{{$val['uri']}}" class="orange">
                            <img  src="{{$val['uri']}}">
                        </a>
                        @endforeach
                    </li>
            </ul>
        </div>
    </div>
    @foreach($list->comment_list as $key => $val)
        <div class="plc cl" >
          <span class="avatar">
            <img src="/static/image/mobile/images/avatar-wow-default.jpg" />
        </span>
            <div class="display pi" href="#replybtn_140766">
                <ul class="authi">
                    <li class="floor">
                        <em>{{$key+2}}<sup>#</sup> </em>  <b>
                            <a href="javascript:void(0);" class="context-link">{{$val['user_info']['realname']}}</a>
                        </b>
                    </li>
                    <li class="rela">{{substr($val['created_at'],0,10)}}</li>
                </ul>
                <div class="message">
                    {{$val['name']}}
                </div>
            </div>
        </div>
    @endforeach
    <div id="post_new"></div>
    <div class="plc cl">
        <form class="layui-form" action="{{ URL::action('Index\IndexController@postInfo')}}">
            <input type="hidden" name="id" value="{{$list['id']}}" />
            <span class="avatar"><img src="/static/image/mobile/images/avatar-wow-default.jpg" /></span>
            <div class="pi">
                <ul class="fastpost">
                    <li><input type="text" placeholder="我也说一句" class="input grey"   name="name" ></li>
                    <li>
                        <input lay-submit lay-filter="formDemo"  type="button" value="回复" class="button2" name="replysubmit"  >
                    </li>
                </ul>
            </div>
        </form>
    </div>
</div>
<a href="javascript:;" title="返回顶部" class="scrolltop bottom"></a>
<script type="text/javascript" src="/static/backend/javascript/dw_form_submit.js"></script>
@include('Index.footer')